package com.upay.android.controller.activity;

import android.os.Bundle;

import com.upay.android.R;
import com.upay.android.controller.fragment.AuthenticateFragment;
import com.upay.android.controller.fragment.AuthenticateFragment.OnJoinUPaySelectedListener;
import com.upay.android.controller.fragment.CreateAccountFragment;

public class AuthenticationActivity extends FragmentActivity
	implements OnJoinUPaySelectedListener {
	
	/* ---- Constants ---- */
	
	/* ---- Instance Variables ---- */
	
	/* ---- Constructors ---- */
	
	/* ---- Business Methods ---- */

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addFragment(R.id.fragmentContainer, new AuthenticateFragment());
    }

	@Override
	public void onJoinSelected() {
		this.replaceFragment(R.id.fragmentContainer, new CreateAccountFragment());	
	}
	   
}
